package com.zll.dms.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 文档模型
 */
@Data
public class Doc {

    private Long id;

    private Long userId;

    private String path;

    private String name;

    private String description;

    private String tag;

    /**
     * 只做存放
     */
    private String userName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="Asia/Shanghai")
    private Date createTime;
}
